package com.leps.nq.tx.core;

import com.leps.nq.common.util.DataUtils;

public class Response {
    private byte[] datagram;

    public Response(byte[] datagram) {
        this.datagram = datagram;
    }

    public byte[] getDatagram() {
        return datagram;
    }

    public String getHexStr() {
        return DataUtils.bytesToHexStr(datagram);
    }
}
